<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>

<%
	request.setAttribute("title","金豆详情");
    request.setAttribute("modelConfigPath", "acc");
%>

<%@ include file="/WEB-INF/views/shared/master/contentHeader.jsp"%>
<style type="text/css">

</style>

<t:panel cssClass="panel-flat form-detailed" customBody="true" customHead="true">
    <div class="detailed-navbar-content panel-body">
        <t:form commandName="goldenBeanDetail" action="/admin/acc/goldenBeanDetail/save" method="post" cssClass="form-horizontal">
            <div class="hide">
                <t:hidden path="id"/>
                <t:hidden path="customerId"/>
            </div>
           <t:formgroup>
                <t:label path="userIdentity" cssClass="col-sm-2" />
                <t:input path="userIdentity" colClass="col-sm-4" />
                <t:label path="customerName" cssClass="col-sm-2" />
                <t:input path="customerName" colClass="col-sm-4" />
            </t:formgroup>
            <t:formgroup>
                <t:label path="goldenBeanType" cssClass="col-sm-2" />
                <t:select2 path="goldenBeanType" colClass="col-sm-4" />
                <t:label path="time" cssClass="col-sm-2" />
                <t:input path="time" colClass="col-sm-4" />
            </t:formgroup>
            <t:formgroup>
                <t:label path="outTradeNo" cssClass="col-sm-2" />
                <t:input path="outTradeNo" colClass="col-sm-4" />
                <t:label path="state" cssClass="col-sm-2" />
                <t:selectButton path="state" colClass="col-sm-4" />
            </t:formgroup>
            <t:formgroup>
                <t:label path="goldenBeanAccount" cssClass="col-sm-2" />
                <t:input path="goldenBeanAccount" colClass="col-sm-4" />
                <t:label path="goldenBeanBalance" cssClass="col-sm-2" />
                <t:input path="goldenBeanBalance" colClass="col-sm-4" />
            </t:formgroup>
            
        </t:form>
    </div>
</t:panel>

<script type="text/javascript">
	function saveData(){
		if (!$("form:first").valid()){
			return;
		}
		$("form:first").submit();
	}	
</script>
<%@ include file="/WEB-INF/views/shared/base/scripts/jqueryui.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include file="/WEB-INF/views/shared/base/scripts/limitless/default/formpickers.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>
